<?php
$cookie='./tmp/cookiebin';
$host = $_REQUEST['host'];
$ch = curl_init($host.'visual-captcha.php');
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$cap = curl_exec($ch);
curl_close($ch);
header('Content-type: image/jpeg');
echo $cap;
?>
